Skip to contentSkip to conversation

Change in openvpn[master]: Document that tls-crypt-v2 can be used in connection profile

Openvpn-devel In review syzzer (Code Review) 2 participants 8 messages Oct 7, 2025 – Oct 8, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1759868804000.Ie8c6381e66d57e0c1ec31132fad8277e0133283f@...2715...

#1 lore raw

Attention is currently required from: flichtenheld, plaisthos.

Hello plaisthos, flichtenheld,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email

to review the following change.

Change subject: Document that tls-crypt-v2 can be used in connection profile
......................................................................

Document that tls-crypt-v2 can be used in connection profile

As reported in https://github.com/OpenVPN/openvpn/issues/795,
tls-crypt-v2 was not documented as an option that was allowed to be used in <connection> blocks. This is a documentation mistake - it has from it's introduction been possible to do so.

Verified in the code and tested locally.

Change-Id Ie8c6381e66d57e0c1ec31132fad8277e0133283f

---
M doc/man-sections/connection-profiles.rst

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/54/1254/1

doc/man-sections/connection-profiles.rst +1 -1
index 767ff3a..8710a2a 100644
@@ -58,7 +58,7 @@
 ``http-proxy-option``, ``key-direction``, ``link-mtu``, ``local``,
 ``lport``, ``mssfix``, ``mtu-disc``, ``nobind``, ``port``, ``proto``,
 ``remote``, ``rport``, ``socks-proxy``, ``tls-auth``, ``tls-crypt``,
-``tun-mtu and``, ``tun-mtu-extra``.
+``tls-crypt-v2``, ``tun-mtu and``, ``tun-mtu-extra``.
 
 A defaulting mechanism exists for specifying options to apply to all
 ``<connection>`` profiles. If any of the above options (with the

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie8c6381e66d57e0c1ec31132fad8277e0133283f
Gerrit-Change-Number: 1254
Gerrit-PatchSet: 1
Gerrit-Owner: syzzer <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: flichtenheld, plaisthos, syzzer.

cron2 has posted comments on this change by syzzer. ( http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email )

Change subject: Document that tls-crypt-v2 can be used in connection profile
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie8c6381e66d57e0c1ec31132fad8277e0133283f
Gerrit-Change-Number: 1254
Gerrit-PatchSet: 1
Gerrit-Owner: syzzer <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: syzzer <[email protected]...>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Tue, 07 Oct 2025 20:27:21 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#3 lore raw
In reply to a message not in the archive

Attention is currently required from: cron2, flichtenheld, plaisthos, syzzer.

cron2 has uploaded a new patch set (#2) to the change originally created by syzzer. ( http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by cron2

The change is no longer submittable: Code-Review and checks~ChecksSubmitRule are unsatisfied now.

Change subject: Document that tls-crypt-v2 can be used in connection profile
......................................................................

Document that tls-crypt-v2 can be used in connection profile

As reported in https://github.com/OpenVPN/openvpn/issues/795,
tls-crypt-v2 was not documented as an option that was allowed to be used in <connection> blocks. This is a documentation mistake - it has from it's introduction been possible to do so.

Verified in the code and tested locally.

Github: OpenVPN/openvpn#795

Change-Id Ie8c6381e66d57e0c1ec31132fad8277e0133283f

---
M doc/man-sections/connection-profiles.rst

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/54/1254/2

doc/man-sections/connection-profiles.rst +1 -1
index 767ff3a..8710a2a 100644
@@ -58,7 +58,7 @@
 ``http-proxy-option``, ``key-direction``, ``link-mtu``, ``local``,
 ``lport``, ``mssfix``, ``mtu-disc``, ``nobind``, ``port``, ``proto``,
 ``remote``, ``rport``, ``socks-proxy``, ``tls-auth``, ``tls-crypt``,
-``tun-mtu and``, ``tun-mtu-extra``.
+``tls-crypt-v2``, ``tun-mtu and``, ``tun-mtu-extra``.
 
 A defaulting mechanism exists for specifying options to apply to all
 ``<connection>`` profiles. If any of the above options (with the

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie8c6381e66d57e0c1ec31132fad8277e0133283f
Gerrit-Change-Number: 1254
Gerrit-PatchSet: 2
Gerrit-Owner: syzzer <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: syzzer <[email protected]...>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>

#4 lore raw

PATCH v2 1/1 Document that tls-crypt-v2 can be used in connection profile

In reply to a message not in the archive

From: Steffan Karger <[email protected]...>

As reported in https://github.com/OpenVPN/openvpn/issues/795,
tls-crypt-v2 was not documented as an option that was allowed to be used in <connection> blocks. This is a documentation mistake - it has from it's introduction been possible to do so.

Verified in the code and tested locally.

Github: OpenVPN/openvpn#795

Change-Id Ie8c6381e66d57e0c1ec31132fad8277e0133283f

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1254
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1254
This mail reflects revision 2 of this Change.

Acked-by according to Gerrit (reflected above):

doc/man-sections/connection-profiles.rst +1 -1
index 767ff3a..8710a2a 100644
@@ -58,7 +58,7 @@
 ``http-proxy-option``, ``key-direction``, ``link-mtu``, ``local``,
 ``lport``, ``mssfix``, ``mtu-disc``, ``nobind``, ``port``, ``proto``,
 ``remote``, ``rport``, ``socks-proxy``, ``tls-auth``, ``tls-crypt``,
-``tun-mtu and``, ``tun-mtu-extra``.
+``tls-crypt-v2``, ``tun-mtu and``, ``tun-mtu-extra``.
 
 A defaulting mechanism exists for specifying options to apply to all
 ``<connection>`` profiles. If any of the above options (with the
#5 lore raw

[Openvpn-devel] [PATCH applied] Re: Document that tls-crypt-v2 can be used in connection profile

Good to hear from you :-) - and such a nice patch, not even a one-line fix, just a one-word addition.

(And indeed, the code talks about "ce", so it very much confirms what you wrote)

Your patch has been applied to the master branch.

commit d19e431b3102a511136befa7c3b8fb6a28b89f54

Author: Steffan Karger
Date:   Tue Oct 7 22:28:10 2025 +0200
     Document that tls-crypt-v2 can be used in connection profile

     Signed-off-by: Steffan Karger <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1254
     Message-Id: <[email protected]...>
     URL: https://sourceforge.net/p/openvpn/mailman/message/59243550/
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#6 lore raw

Re: [Openvpn-devel] [PATCH applied] Re: Document that tls-crypt-v2 can be used in connection profile

Hi,

Quoted 11 lines · Gert Doering

Good to hear from you :-) - and such a nice patch, not even a one-line fix, just a one-word addition.

(And indeed, the code talks about "ce", so it very much confirms what you wrote)

Your patch has been applied to the master branch.

commit d19e431b3102a511136befa7c3b8fb6a28b89f54

Author: Steffan Karger
Date:   Tue Oct 7 22:28:10 2025 +0200

Meh. Due to the mail-archive org issues I need to --amend my commits and the script that pre-generates the mails does not know that. So the right commit ID is

commit 7fa59cdf0c38972bdaa9d9106e78f468179d6bff

Author: Steffan Karger <[email protected]...>
Date:   Tue Oct 7 22:28:10 2025 +0200

Document that tls-crypt-v2 can be used in connection profile

(same change, different commit message "URL:" part)

Sorry.

gert

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...
#7 lore raw
In reply to a message not in the archive

cron2 has uploaded a new patch set (#3) to the change originally created by syzzer. ( http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email )

Change subject: Document that tls-crypt-v2 can be used in connection profile
......................................................................

Document that tls-crypt-v2 can be used in connection profile

As reported in https://github.com/OpenVPN/openvpn/issues/795,
tls-crypt-v2 was not documented as an option that was allowed to be used in <connection> blocks. This is a documentation mistake - it has from it's introduction been possible to do so.

Verified in the code and tested locally.

Github: closes OpenVPN/openvpn#795

Change-Id Ie8c6381e66d57e0c1ec31132fad8277e0133283f

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1254
Message-Id: <[email protected]...>
URL: https://sourceforge.net/p/openvpn/mailman/message/59243550/

---
M doc/man-sections/connection-profiles.rst

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/54/1254/3

doc/man-sections/connection-profiles.rst +1 -1
index 767ff3a..8710a2a 100644
@@ -58,7 +58,7 @@
 ``http-proxy-option``, ``key-direction``, ``link-mtu``, ``local``,
 ``lport``, ``mssfix``, ``mtu-disc``, ``nobind``, ``port``, ``proto``,
 ``remote``, ``rport``, ``socks-proxy``, ``tls-auth``, ``tls-crypt``,
-``tun-mtu and``, ``tun-mtu-extra``.
+``tls-crypt-v2``, ``tun-mtu and``, ``tun-mtu-extra``.
 
 A defaulting mechanism exists for specifying options to apply to all
 ``<connection>`` profiles. If any of the above options (with the

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie8c6381e66d57e0c1ec31132fad8277e0133283f
Gerrit-Change-Number: 1254
Gerrit-PatchSet: 3
Gerrit-Owner: syzzer <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#8 lore raw
In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email )

Change subject: Document that tls-crypt-v2 can be used in connection profile
......................................................................

Document that tls-crypt-v2 can be used in connection profile

As reported in https://github.com/OpenVPN/openvpn/issues/795,
tls-crypt-v2 was not documented as an option that was allowed to be used in <connection> blocks. This is a documentation mistake - it has from it's introduction been possible to do so.

Verified in the code and tested locally.

Github: closes OpenVPN/openvpn#795

Change-Id Ie8c6381e66d57e0c1ec31132fad8277e0133283f

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1254
Message-Id: <[email protected]...>
URL: https://sourceforge.net/p/openvpn/mailman/message/59243550/

---
M doc/man-sections/connection-profiles.rst

1 file changed, 1 insertion(+), 1 deletion(-)
doc/man-sections/connection-profiles.rst +1 -1
index 767ff3a..8710a2a 100644
@@ -58,7 +58,7 @@
 ``http-proxy-option``, ``key-direction``, ``link-mtu``, ``local``,
 ``lport``, ``mssfix``, ``mtu-disc``, ``nobind``, ``port``, ``proto``,
 ``remote``, ``rport``, ``socks-proxy``, ``tls-auth``, ``tls-crypt``,
-``tun-mtu and``, ``tun-mtu-extra``.
+``tls-crypt-v2``, ``tun-mtu and``, ``tun-mtu-extra``.
 
 A defaulting mechanism exists for specifying options to apply to all
 ``<connection>`` profiles. If any of the above options (with the

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1254?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie8c6381e66d57e0c1ec31132fad8277e0133283f
Gerrit-Change-Number: 1254
Gerrit-PatchSet: 3
Gerrit-Owner: syzzer <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>